{extend name="web/official_common/pc/base" /}

{block name="content"}
<!--主体内容 开始-->
<div class="product">
    <!--右侧区域 开始-->
    <div id="right">
        <div class="right_title"></div>
        <div class="right_body">
            <div class="info_product_detail_wrap">
                <table class="detail_table" align="center">
                    <tr>
                        <th>
                            <img src="{$data['image']}" title="{$data['title']}" alt="{$data['title']}" />
                        </th>
                        <td>
                            <div class="InfoTitle"><h1>{$data['title']}</h1></div>
                            <div>{:__l('index','Product ID')}：<span class="f2">{$data['serial_number']}</span></div>
                            <b>{:__l('index','Buying price')}：</b><span class="f1">{$data['price']}</span><br/>
                            <div><b>{:__l('index','Clicks')}：</b><span class="InfoHit">{$data['click']}</span></div>
                            <b>{:__l('index','Release time')}：</b><span class="InfoTime">{:date('Y-m-d H:i:s',$data['createtime'])}</span><br/>
                            <div class="WantOrder" style="display:none;"><a class="btn" href="/official_online_message/list?pid=17&sid=17" target="_blank">{:__l('index','I want to order')}</a></div>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="ProductDescription">{:__l('index','Product description')}</div>
            <!-- 频道/文章内容  开始-->
            <div class="InfoSContent"></div>
            <div class="InfoContent">
                {$data['content']|htmlspecialchars_decode}
            </div>
            <!-- 频道/文章内容  结束-->

            <!-- 当前信息 上一条 下一条  开始-->
            <div class="info_previous_next_wrap">
                <div class="Previous">
                    <b>{:__l('index','Previous page')}：</b>
                    {if empty($before)}
                        {:__l('index','There no data')}
                    {else/}
                    <a href="{:addon_url('official/web.official_product/details',[':pid'=>(int)input('param.pid'),':sid'=>(int)input('param.sid'),':id'=>$before['id']])}" title="{$before['title']}">{$before['title']}</a>
                    {/if}
                </div>

                <div class="Next">
                    <b>{:__l('index','Page down')}：</b>
                    {if empty($after)}
                        {:__l('index','There no data')}
                    {else/}
                    <a href="{:addon_url('official/web.official_product/details',[':pid'=>(int)input('param.pid'),':sid'=>(int)input('param.sid'),':id'=>$after['id']])}" title="{$after['title']}">{$after['title']}</a>
                    {/if}
                </div>
            </div>
            <!-- 当前信息 上一条 下一条  结束-->
        </div>
        <div class="right_bottom"></div>
    </div>
    <!--右侧区域 结束-->
    <div class="clear"></div>
</div>
<!--主体内容 结束-->
{/block}